<?php

class Skjb_Acl_Resource extends Zend_Acl_Resource
{
    public $noAuth = array(
        'controller' => 'index',
        'action'     => 'login',
    );

    public $noAcl = array(
        'controller'  => 'my-account',
        'action'      => 'denied',
    );
    
    function __construct($resourceId, $noAuth = null, $noAcl = null)
    {
        parent::__construct($resourceId);
        
        if ($noAuth !== null) {
            $this->noAuth = $noAuth;
        }
        
        if ($noAcl !== null) {
            $this->noAcl = $noAcl;
        }
    }
}